package com.example.yjhvideo.client;


import com.yc.yjh.entity.Result;
import com.yc.yjh.entity.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "yjh-user")
@RequestMapping("/user")
public interface userOneClient {

    @RequestMapping("/user")
    public Result selectOneUserByName(@RequestParam("username") String username);
}
